<%@ Control Language="C#" AutoEventWireup="true" CodeFile="CustomerPasswordRecovery.ascx.cs"
    Inherits="Tathata.Web.Modules.Account.CustomerPasswordRecoveryControl" %>
<%@ Register TagPrefix="nopCommerce" TagName="SimpleTextBox" Src="~/Modules/SimpleTextBox.ascx" %>
<%@ Register TagPrefix="nopCommerce" TagName="EmailTextBox" Src="~/Modules/EmailTextBox.ascx" %>
<div class="hl">
    <img src="<%=Page.ResolveUrl("~/images/sp.gif")%>" /></div>
<div style="position: relative; float: left; width: 100%">
    <div class="blockHeader">
        <img src="<%=Page.ResolveUrl("~/images/VerticalLine.gif")%>" style="margin-top: 14px;" /><b><%=GetLocaleResourceString("PasswordRecovery.ResetYourPassword")%></b><br />
    </div>
</div>
<div class="hl">
    <img src="<%=Page.ResolveUrl("~/images/sp.gif")%>" />
</div>
<div style="position: relative; float: left; padding-top: 10px;">
    <div runat="server" id="pnlResult" visible="false">
        <strong>
            <asp:Literal runat="server" ID="lResult" EnableViewState="false"></asp:Literal>
        </strong>
    </div>
</div>
<div style="position: relative; float: left; width: 100%; padding-top: 10px;" runat="server"
    id="pnlRecover" visible="false">
    <table>
        <tr>
            <td style="width: 100px; text-align: left; vertical-align: middle;">
                <%=GetLocaleResourceString("PasswordRecovery.E-MailAddress")%>:
            </td>
            <td>
                <nopCommerce:EmailTextBox runat="server" ID="txtEmail" ValidationGroup="PasswordRecovery"
                    Width="250px"></nopCommerce:EmailTextBox>
            </td>
        </tr>
        <tr>
            <td>
            </td>
            <td style="text-align: left; vertical-align: middle;">
                <asp:Button runat="server" ID="btnPasswordRecovery" Text="Recover" ValidationGroup="PasswordRecovery"
                    OnClick="btnPasswordRecovery_Click"></asp:Button>
            </td>
        </tr>
    </table>
</div>
<div style="position: relative; float: left; width: 100%; padding-top: 10px;" runat="server"
    id="pnlNewPassword" visible="false">
    <table>
        <tr>
            <td style="width: 100px; text-align: left; vertical-align: middle;">
                <%=GetLocaleResourceString("PasswordRecovery.EnterNewPassword")%>:
            </td>
            <td>
                <nopCommerce:SimpleTextBox runat="server" ID="txtNewPassword" ValidationGroup="NewPassword"
                    Width="250px" TextMode="Password" ErrorMessage="Password is required"></nopCommerce:SimpleTextBox>
            </td>
        </tr>
        <tr>
            <td>
            </td>
            <td style="text-align: left; vertical-align: middle;">
                <asp:Button runat="server" ID="btnNewPassword" Text="Submit" ValidationGroup="NewPassword"
                    OnClick="btnNewPassword_Click"></asp:Button>
            </td>
        </tr>
    </table>
</div>
